<template>
  <div class="box1">
     <div class="menu5">
      <img src="@/assets/images/组 2560.png">  <span><b>任务管理</b></span>
    
    </div>
    <!-- 头部 -->
    <div class="menu">
      <el-menu
       
        class="el-menu-demo"
        mode="horizontal"
       
      >
        <el-menu-item id="el-menu" index="1">任务审核</el-menu-item>
        <el-menu-item id="el-menu" index="2">进行中的任务</el-menu-item>
        <el-menu-item id="el-menu" index="3">已完成的任务</el-menu-item
        >
      </el-menu>
      <div class="line"></div>
    </div>

    <!-- +++++++++++++++++++++++++++++++++++表格+++++++++++++++++++++++++++++++++++++++++++++++++++= -->
    <div class="table">
      <el-table :data="tableData"  class="tableBox" style="width: 98%">
        <el-table-column prop="numbering" label="任务编号" width="200">
        </el-table-column>
        <el-table-column prop="name" label="任务名称" width="210">
        </el-table-column>
        <el-table-column prop="reward" label="任务奖励" width="200">
        </el-table-column>
        <el-table-column prop="level" label="任务级别" width="195">
           <!-- <el-button @click="gosh" type="primary" size="mini" plain>普通</el-button> -->
           <el-link @click="gosh" type="success">普通</el-link>
        </el-table-column>
        <el-table-column prop="time" label="任务时限" width="195">
        </el-table-column>
        <el-table-column prop="date" label="任务截止时间(任务提交时间)">
        </el-table-column>
      </el-table>
    </div>
    <!-- +++++++++++++++++++分页+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= -->
    <div class="pag">
      <div class="block">
        <!-- <span class="demonstration">直接前往</span> -->
        <el-pagination
          background
         
          layout="prev, pager, next, jumper"
          :total="1000"
        >
        </el-pagination>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  methods:{
    gosh(){
       this.$router.push('/rwsh');
    }
  },
  data() {
    return {
      tableData: [
        {
          numbering: "0123456789",
          name: "任务名称",
          reward: "1,000",
          level: "普通",
          time: "3天",
          date: "2016-05-01",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "一般",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "复杂",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "困难",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
        {
          numbering: "",
          name: "",
          reward: "",
          level: "",
          time: "",
          date: "",
        },
      ],
    };
  },
};
</script>
<style lang="scss" >
.tableBox {
  th {
    padding: 0 !important;
    height: 40px;
    line-height: 40px;
  }
  td {
    padding: 0 !important;
    height: 40px;
    line-height: 40px;
  }
}
.box1 {
  width: 1250px;
  height: 660px;
  background-color: white;
  /* padding-top: 50px; */
}

#el-menu {
  background-color: white;
}

.menu {
  /* background: white; */
  padding-top: 5%;
  margin-left: 2%;
}
.menu5 img {
  /* background: white; */
//   padding-top: 5%;
   width: 30px;
    height: 30px;
    display: inline-block;
    // float: left;
    margin-top: 10px;
    margin-left: 2%;

}
.menu5 span{
  position: absolute;
  top: 92px;
  left: 292px;
  // padding-top: 20px;
 
  // margin-left: 10px;
  }
.head {
  float: left;
}
.table {
  padding-top: 10px;
  margin-left: 2%;
}
.pag {
  /* margin-top: 4%; */
  /* margin-left: 25%; */
  position: absolute;
  top: 680px;
  left: 35%;
}
</style>